package cn.com.graPro.controller;

import cn.com.graPro.service.ImgCensorService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/userController")
public class UserController {
    private static final Logger LOG = LoggerFactory.getLogger(GetAuthController.class);
    /*
     * 添加用户
     * */
    @GetMapping("/createUser")
    public String createUser(@RequestParam(name = "imageUrl") String imageUrl) {
        LOG.info("createUser({})", imageUrl);

        return "";
    }

    /*
    * deleteUser
    *
    * */
    @GetMapping("/deleteUser")
    public String deleteUser(@RequestParam(name = "imageUrl") String imageUrl) {
        LOG.info("deleteUser({})", imageUrl);

        return "";
    }

    /*
    *queryUser
    *
    * */
    @GetMapping("/queryUser")
    public String queryUser(@RequestParam(name = "imageUrl") String imageUrl) {
        LOG.info("queryUser({})", imageUrl);

        return "";
    }


    /*
    * updateUser
    * */
    @GetMapping("/updateUser")
    public String updateUser(@RequestParam(name = "imageUrl") String imageUrl) {
        LOG.info("updateUser({})", imageUrl);

        return "";
    }

    /*
    * updateUserState
    * */
    @GetMapping("/updateUserState")
    public String updateUserState(@RequestParam(name = "imageUrl") String imageUrl) {
        LOG.info("updateUserState({})", imageUrl);

        return "";
    }

    /*
    * createToken
    * */
    @GetMapping("/createToken")
    public String createToken(@RequestParam(name = "imageUrl") String imageUrl) {
        LOG.info("createToken({})", imageUrl);

        return "";
    }
}
